<?php   

// session

// usergroup
define('SESSION_USERGROUP', 'usergroup');

// usergroup keys ($_SESSION[SESSION_USERGROUP][$key])
define('SESSION_CUSTOMER_NAME', 'customer');

// user
define('SESSION_USER', 'user');

// user keys ($_SESSION[SESSION_USER][$key])
define('SESSION_USER_NAME', 'name');
define('SESSION_USER_FORENAME', 'forename');
define('SESSION_USER_LOGIN', 'login');
define('SESSION_USER_PHONENUMBER', 'phonenumber');

define('SESSION_USER_ADDRESS', 'address');

// adress keys($_SESSION[SESSION_USER][SESSION_USER_ADDRESS][$key])
define('SESSION_USER_ADDRESS_PLZ', 'plz');
define('SESSION_USER_ADDRESS_CITY', 'city');
define('SESSION_USER_ADDRESS_DISTRICT', 'district');
define('SESSION_USER_ADDRESS_STREET', 'street');
define('SESSION_USER_ADDRESS_STREETNUMBER', 'streetnumber');


// usergroups
define('DEFAULT_USERGROUP', 'none');

// grouprights
define('CFG_GROUPRIGHTS', 'GroupRights');

$test = CFG_GROUPRIGHTS;

define('GROUP_RIGHT_VIEW_DETAIL', 'ViewDetails');
define('GROUP_RIGHT_CREATE_CUSTOMER', 'CreateCustomer');
define('GROUP_RIGHT_CREATE_CALLCENTERAGENT', 'CreateCallcenteragents');
define('GROUP_RIGHT_CREATE_OFFER', 'CreateOffer');
define('GROUP_RIGHT_SUBSCRIBE_FOROBJECT', 'SubscribeForObject');
define('GROUP_RIGHT_VIEW_MINPRICE', 'ViewMinPrice');
define('GROUP_RIGHT_UPDATE_PRICE', 'UpdatePrice');
define('GROUP_RIGHT_UPDATE_STATUS', 'UpdateStatus');
define('GROUP_RIGHT_VIEW_CUSTOMER', 'ViewCustomer');
define('GROUP_RIGHT_SUBSCRIBE_CUSTOMERFOROBJECT', 'SubscribeCustomerForObject');

?>